package com.fushihua.y2015.m09.d21;

public class VariantTest {
	public static int staticVar = 0;   
	public int instanceVar = 0;   
	public VariantTest(){ 
	  staticVar++; 
	  instanceVar++; 
	  System.out.println("staticVar=" + staticVar + ",instanceVar="  + instanceVar); 
	} 
	
	public static void main(String[] args) {
		VariantTest tVariantTest1 = new VariantTest();
		VariantTest tVariantTest2 = new VariantTest();
		VariantTest tVariantTest3 = new VariantTest();
		VariantTest tVariantTest4 = new VariantTest();
		VariantTest tVariantTest5 = new VariantTest();
	}
}
